package boss.portal.entity.pro;

import boss.portal.entity.Common;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.annotations.Type;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Table(name="korea_data")
@Entity
@ApiModel(value = "korea_data",description = "韩国认领采集数据")
public class KoreaData extends Common {

    @Column(name = "index_name")
    @ApiModelProperty(name = "序号",value = "index")
    private String indexName;

    @Column(name = "pro_chinese_name")
    @ApiModelProperty(name = "产品中文名",value = "proChineseName")
    private String proChineseName;

    @Column(name = "pro_korea_name")
    @ApiModelProperty(name = "产品韩国名",value = "proKoreaName")
    private String proKoreaName;

    @Column(name = "main_img")
    @ApiModelProperty(name = "主图",value = "mainImg")
    private String mainImg;

    @Column(name = "additional_img")
    @ApiModelProperty(name = "附加图",value = "additionalImg")
    private String additionalImg;

    @Column(name = "detail_text")
    @Type(type = "text")
    @ApiModelProperty(name = "详细说明",value = "detailText")
    private String detailText;

    @Column(name = "price")
    @ApiModelProperty(name = "售价",value = "price")
    private BigDecimal price;

    @Column(name = "freight")
    @ApiModelProperty(name = "运费",value = "freight")
    private BigDecimal freight;

    @Column(name = "choice_type")
    @ApiModelProperty(name = "选项种类",value = "choiceType")
    private String choiceType;

    @Column(name = "choice_name")
    @ApiModelProperty(name = "选项名",value = "choiceName")
    private String choiceName;

    @Column(name = "choice_value")
    @ApiModelProperty(name = "选项值",value = "choiceValue")
    private String choiceValue;

    @Column(name = "choice_price")
    @ApiModelProperty(name = "选项价格",value = "choicePrice")
    private BigDecimal choicePrice;

    @Column(name = "choice_stock")
    @ApiModelProperty(name = "选项库存",value = "choice_stock")
    private String choiceStock;



}
